<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<style>
</style>
<body>
    <button id="bt" disabled>已阅读用户协议(10s)</button>
<script>
    let bt = document.querySelector('#bt')
    let second = 10;
    let time = setInterval(()=>{
        second --;
        bt.innerHTML = `已阅读用户协议(${second})`;
        if (second === 0 ){
            clearInterval(time);
            bt.innerHTML = '好';
            bt.disabled = false;
        }
    },1000);
</script>
</body>
</html>